﻿using System.Windows.Controls;
using LASGui.MainService;

namespace LASGui.Classes
{
    /// <summary>
    /// Clase que hereda de TreeViewItem para la creación de items del árbol de cuentas.
    /// </summary>
    public class AccountTreeViewItem : TreeViewItem
    {
        public Account Account { get; set; }

        public AccountTreeViewItem(Account account)
        {
            Account = account;
            Header = Account.AccountCode + " " + Account.AccountName;
        }
    }
}
